import request from '@/utils/request'

export const addOneUser = data => request({
  url: '/addOneUser',
  method: 'put',
  data: data || {}
})

export const updateOneUserById = data => request({
  url: '/updateOneUserById',
  method: 'patch',
  data: data || {}
})

export const getUserList = (data) => request({
  url: '/getUserList',
  method: 'post',
  data: data || {}
})

